package com.tanger.user;

import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @Description TODO
 * @Author Hchenbin
 * @Date 2022/10/09 16:39
 * @Version 1.0
 */
public interface BaseUserRepository extends JpaRepository<UserEntity,Long>{

    List<UserEntity> findByCreateTimeBetween(Long startTime, Long endTime);
    UserEntity findByMobile(String mobile);
    List<UserEntity> findAllByDelFlagAndIdIn(Integer delFlag, List<Long> ids);
}
